/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 * @author ThinkGem
 */
import { defHttp } from '/@/utils/http/axios';
import { useGlobSetting } from '/@/hooks/setting';
import { BasicModel, Page } from '../model/baseModel';

const { adminPath } = useGlobSetting();

export interface Projectno extends BasicModel<Projectno> {
  projectno?: string; // 项目编号
  
}


export const switchProject = (params?: Projectno | any) =>
  defHttp.post<Projectno>({ url: adminPath + '/zfgsCommon/switchProject', params });



export const getProjectCache = (params?: Projectno | any) =>
  defHttp.post<Projectno>({ url: adminPath + '/zfgsCommon/getProjectCache', params });

export const u8InvClsTreeData = (params?: Projectno | any) =>
  defHttp.post<Projectno>({ url: adminPath + '/zfgsCommon/u8InvClsTreeData', params });

export const u8ItemClsTreeData = (params?: Projectno | any) =>
  defHttp.post<Projectno>({ url: adminPath + '/zfgsCommon/u8ItemClsTreeData', params });


export const u8RdCodeTreeData = (params?: Projectno | any) =>
  defHttp.post<Projectno>({ url: adminPath + '/zfgsCommon/u8RdCodeTreeData', params });

export const getDesignVisaKey = (params?: Projectno | any) =>
  defHttp.post<Projectno>({ url: adminPath + '/zfgsCommon/getDesignVisaKey', params });
  
